﻿using HoverTree.Model;
using System.Collections.Generic;

namespace HoverTree.IDAL
{
    /// <summary>
    /// 管理员
    /// </summary>
    public  interface IPanelUser
    {
        string Add(PanelUserInfo panelUser);

        string Alter(PanelUserInfo panelUser);

        PanelUserInfo Get(int hvtID);

        string AlterPassword(PanelUserInfo panelUser);

        PanelUserInfo GetByUserName(string userName);

        List<PanelUserInfo> HvtPageQuery(int sortType, int pageSize, int pageIndex, out int totalCount, out int totalPageCount);

        string Delete(int hvtid);
    }
}